home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 5 / QRZ Ham Radio Callsign Database - Volume 5.iso / files / tcpip / pe1chl / sccprin5.arc / README.ENG < prev    next >
Encoding:
Text File  |  1990-09-03  |  17.3 KB  |  372 lines

  1. Sccprint archive version 5b                                           900705
  2. Added some more technical information and programming examples from PE1CHL
  3. for the the intack latch logic. The englisch version of this file is now
  4. in the sccprint archieve.
  5.  
  6. Sccprint archive version 5                                            900505
  7. The 2 wire jumpers in the component lay-out have been redrawn to enhance their
  8. visibility. In the component list of the OptoPcScc some mistakes have been
  9. corrected. The VE3DNL 4800 bps modem interface and the null modem have been added.
  10.  
  11. Sccprint archive version 4                                            900308
  12. The drawings of the component lay-out of the 1K2 modem have been enlarged by a
  13. factor of 2 and also in this drawing the positions of Z1 and Z2 (trimpots) have
  14. been swapped.
  15.  
  16. Sccprint archive version 3
  17. The numbering system of the interrupt jumper JP3 in the OptoPcScc schematics
  18. has been explained.  Drawings of the 1K2 bps modem have been included.
  19.  
  20. Sccprint archive version 2
  21. The drawings have been enlarged by a factor of 2 because of numerous requests.
  22. A mistake in the component lay-out drawing (U9 upside down) has been corrected
  23. and some extra information has been added.  Another mistake has been corrected
  24. in the schematic diagram : connectors J7 thru J10 have been changed into male
  25. versions.
  26.  
  27. Sccprint archive version 1
  28. Please distribute this archive only in its complete form with all the files included!!!
  29.  
  30.  
  31. The text files are:
  32.  
  33.          SCCPAPER.TXT  Description of the multi-channel IBM PC packet interface.
  34.                        The text has been copied from the proceedings of the 8th
  35.                        ARRL computer networking conference.
  36.  
  37.          SCCPRINT.BOM  Componentlist of the OptoPcScc print.
  38.  
  39.          COMPATBL.LST  List of received compatibility reports.
  40.  
  41.          MODEM1K2.BOM  Componentlist of the 1200 bps current loop modem
  42.  
  43.          MODEM4K8.BOM  Componentlist of the OptoPcScc currentloop interface for
  44.                        the VE3DNL 4K8 bps modem.
  45.  
  46.          MODEMNUL.BOM  Component list of the OptoPcScc currentloop nullmodem.
  47.  
  48.  
  49. The schematic drawings have been added in this archive as a normal file.
  50. The drawings can be printed on an Epson compatible printer.
  51.  
  52.          SCCPRINT.SCH  Drawing of the schematics of the OptoPcScc print.
  53.                        (This file is in uncompressed form larger than 360K)
  54.  
  55.          SCCPRINT.CMP  Component layout of the OptoPcScc print.
  56.  
  57.          MODEM1K2.SCH  Drawing of the schematic diagram of the 1K2 modem.
  58.  
  59.          MODEM1K2.CMP  Component layout of the 1200 bps current loop modem
  60.  
  61.          INTERFA1.SCH  Drawing of the schematics of the current loop interface
  62.                        for the VE3DNL 4K8 bps modem and the schematics of the
  63.                        null modem interface.
  64.  
  65. These files can be printed with the following DOS commands:
  66.  
  67. copy /b sccprint,sch lpt1
  68. copy /b sccprint.cmp lpt1
  69. copy /b modem1k2.sch lpt1
  70. copy /b modem1k2.cmp lpt1
  71. copy /b interfa1.sch lpt1
  72.  
  73. Some information about the OptoPcScc print.
  74.  
  75. Attention! The direction of pin 1 of a component is dependent of the physical
  76. place on the print.  Compare the print very carefully with the component layout.
  77. A wrongly placed IC will destroy itself in most cases if you apply power to the
  78. board.  The quadruple optocoupler PC847 has 4 times the labelling PC817.
  79. Pins 1, 3, 5 and 7 have been marked by a white dot. These dots have been marked
  80. in the component lay-out.
  81.  
  82. The angular 37-pin D connector should be a version whereby the distance between
  83. the mounting flange and the first row of contacts is  10.4 mm and should have
  84. plastic mounting brackets. The mounting holes of the 37-pin D connector should
  85. be drilled to a size of 2.7mm if you are using M2.5mm screws.  In the case there
  86. are no M2.5mm screws available, it is possible to use M3mmx8 screws. Drill the
  87. holes with a 3.2mm drill bit.  The angular 37-pin D connector has the tendency
  88. to lean downwards when you place it on the board. This should be avoided at all
  89. times. This connector should not protrude too far.
  90. Before soldering of this connector you should screw the metal IBMPC plate in
  91. place and check if the board with the plate fits in the PC.
  92. (Disconnect power to the PC before opening of the box)
  93.  
  94. The delivery of the metal IBMPC interface plates with a hole for the 37-pin D
  95. connector is quite difficult. One of our fellow 'packateers' has made available
  96. a number of plates that have been rejected because of too large holes.
  97. As long as this supply lasts, these plates will be delivered together with the
  98. boards. With the use of a washer these plates are very well usable.
  99. I found an European distributor for these plates although the price is not
  100. very attractive. Attempts to combine this with the deliverance of PC material
  101. from Taiwan have not succeeded yet. A disadvantage is the long turnaround
  102. time and the large numbers. I will attempt to punch the plates. I would like
  103. to ask everyone who has IBMPC plates in his possession to make these available.
  104. As focal point the packet radio meeting in Amersfoort is a suitable place
  105. to hand them over. If you have a better idea and/or possibilities I would
  106. like to be informed.
  107.  
  108. After completing the print should be checked  for shorts with the use of an
  109. ohmmeter. The connections of capacitor C2 are a good reference for this.
  110. The resistance should not be lower than about 20 ohms. (the actual resistance
  111. is dependent of the polarity and type of ohmmeter)
  112.  
  113. The jumper JP1 is the standard option "A". The jumper JP2 is the
  114. option "PC". The connections for this are small printfoils on the soldering
  115. side of the board. Only in the case of different options these foils should be
  116. cut and jumpers placed. Jumper JP3 should always have one jumper! This jumper
  117. will select which interrupt is used by the OptoPcScc board.
  118.  
  119.  
  120. Following table is showing a list of interrupt users. Please pay attention to
  121. the fact that the are many more interrupt users, so be careful in choosing
  122. your interrupt no.
  123.  
  124. interrupt         system            usage
  125.  
  126.    2               free             often used by VGA boards
  127.                                     (most VGA boards have this interrupt
  128.                                      permanently activated)
  129.    3               free             serial port com2
  130.    4               free             serial port com1
  131.    5               free             XT harddisk
  132.                                     parallel port lpt2
  133.    6               floppy
  134.    7               free             parallel port lpt1
  135.  
  136.  
  137. The IBMPC IO ports are determined by the PAL U12. Under normal circumstances
  138. the used address range (150(hex)-16F(hex) is not in use in a PC, therefore
  139. this address range was chosen for the OptoPcScc boards. In case of an address
  140. conflict the addressing can be changed by using other PAL's.
  141.  
  142. Standard    : PAL IQ150. SCC =  150(hex). Intack latch = 168(hex)
  143. second board: PAL IQ158. SCC =  158(hex). Intack latch = 168(hex)
  144. third  board: PAL IQ160. SCC =  160(hex). Intack latch = 168(hex)
  145.  
  146. If you need a PAL for a second or third board for more than 4, respectively
  147. 8 channels in a PC, please let me know.  It is possible to use more than 3
  148. boards in an IBMPC, however this has not been tested yet.  The 4th board should
  149. be installed on address 148, the 5th on 140 etc, addresses are chosen to enable
  150. a contiguous address range.
  151. In the above mentioned case the SCC boards will have to be interconnected with
  152. short 5 pin cables. The OUTC connector of the first board and the INC connector
  153. of the following board will have to interconnected. The sequence in which you
  154. interconnect the boards is not important. As a result the INC connector of the
  155. first board and the OUTC connector of the last board are not connected.
  156. The PAL in the last board should be PAL IQ150. The jumper JP3 of the first
  157. board is the one that determines the central interrupt on the IBMPC bus. This
  158. jumper (JP3) is automatically disabled on all other boards and will not
  159. generate interrupts. This jumper will not have to be removed from these boards.
  160.  
  161. Programming info.
  162.  
  163. The registers of the SCC chips will be in the following address range:
  164.  
  165.        |...........SCC chip U1.............|............SCC chip U2............|
  166.        -------------------------------------------------------------------------
  167.        | CTRL B | DATA B | CTRL A | DATA A | CTRL B | DATA B | CTRL A | DATA A |
  168.        -------------------------------------------------------------------------
  169.  
  170. #1 brd:   150      151      152      153      154      155      156      157
  171. #2 brd:   158      159      15A      15B      15C      15D      15E      15F
  172. #3 brd:   160      161      162      163      164      165      166      167
  173.  
  174. The 'INTACK latch' logic is placed on address 168(hex). This logic will allow
  175. us to make use of the so called 'vectored interrupt' mechanism in the PC.
  176. The PC will not allow vectored interrupts under normal circumstances, so we will
  177. read out the vector with software. The following description will explain this.
  178.  
  179. If the OptoPcScc board generates an interrupt, the interrupt handler will do an
  180. OUT instruction to port address 168. The value that will be written is not
  181. important. This results in pulling low the INTACK* line of the SCC chips and
  182. now the SCC's will decide between them which interrupt condition will have the
  183. highest priority (with the IEI and IEO lines which form a daisy chain).
  184. The first IN instruction, which will have to executed on address 168 delivers
  185. the SCC interrupt vector with the highest priority. The interrupt handler can
  186. deduct from this interrupt vector which chip and which condition should be
  187. handled. To make sure that this mechanism works, the INTERRUPT vectors of the
  188. chips will have to be loaded upon initialization.
  189.  
  190.               mov      dx,168H
  191.               out      dx,a1          ; Generate INTACK
  192.               jmp      short d1       ; Delay
  193. d1:           jmp      short d2
  194. d2:           jmp      short d3
  195. d3:           in       a1,dx          ; Read the vector
  196.  
  197. At this moment only the 'PE1CHL SCC driver' in NET and NOS will support this
  198. 'vectored interrupts'. Other software  is using polling to find the chip which
  199. is generating the interrupt. This will slow down the performance of the system
  200. if you are using a lot of SCC's. With only 2 SCC's (one OptoPcScc board) this
  201. will be not very noticeable.
  202.  
  203. For a more extensive explanation of the very complex SCC chip, the 'Z8030/Z8530
  204. SCC Technical Manual" is recommended. This manual contains about 100 pages and
  205. is published by Zilog and AMD. This manual is only recommended for those people
  206. who want to write their own software. It is not an easy task to do this!
  207.  
  208.  
  209. Software compatibility.
  210.  
  211. The SCC driver of PE1CHL.
  212.  
  213. A working SCC driver has been included in version 900123 (or later).
  214. This driver has been checked with 1 or 2 boards.  The use of the intack
  215. interrupt fetch mechanism has also been tested.
  216.  
  217. The following attach commands are needed to install the SCC board in NET.
  218.  
  219. #------------------------------------------
  220. #buffers for the PE1CHL SCC driver
  221. buffers 32 2 128
  222. # attach commands for the PE1CHL SCC driver
  223. # first init the SCC driver,the interrupt is level 3 in this example.
  224. # use of interrupt number of the JP3 jumper on the OptoPcScc board.
  225. attach scc 2 init 150 4 2 0 1 168 3 p4915200
  226.            |                      |
  227.            |                      ^interrupt level
  228.            ^# of SCC chips in the system
  229.  
  230. # attach the channels
  231. attach scc 0 ax25 144  256 d1200 $CALLSIGN-2
  232. attach scc 1 ax25 430  256 d1200 $CALLSIGN-2
  233. attach scc 2 ax25 1296 256 d1200 $CALLSIGN-2
  234. attach scc 3 ax25 50   256 d1200 $CALLSIGN-2
  235. #------------------------------------------
  236.  
  237. The names for the interfaces, 144, 430, 1296 and 50 are optional and can be
  238. changed to your own preference.
  239.  
  240. Attention! In the case of a 286 or 386 PC-AT and interrupt line IRQ2 is used,
  241. the 1st attach statement should contain interrupt level 9, example:
  242. attach scc 2 init 150 4 2 0 1 168 9 p4915200
  243.  
  244. For details see the SCC documentation of PE1CHL.
  245.  
  246. Testing.
  247.  
  248. A first test can be performed without connecting modems to the board by using
  249. the command 'param 144 10 1'. This will put the DCD timeout on 1 second. Then
  250. type in 'connect 144 test' and you should see by typing in 'sccstat' that the
  251. txints are increasing.
  252. If this 'txints' are not increasing then something will be wrong and you will
  253. have to check the board or jumper settings.
  254. To test the combination (scc board, 1200 bps modem and transceiver) it is
  255. possible to connect this to each interface in turn, ie first 144 , 430, etc.
  256.  
  257. Connect interfaces in software.
  258.  
  259. By the use of param <interface> group <mode> statements (in the autoexec.net
  260. file) certain 'blocks' can be arranged ie to disable simultaneous transmission
  261. of 2 or more interfaces. See the doc of the scc driver for details.
  262.  
  263. NOS
  264.  
  265. The PE1CHL SCC driver is included in the NOS version 900201. I do not know
  266. if this combination has been tested yet.
  267.  
  268. MBBIOS
  269.  
  270. I have been informed  that the OptoPcscc board isn't working with MBBIOS.
  271. There are configuration problems. A BBS operator is working on it.
  272. When I know will be informed by the next versions of this archive.
  273.  
  274. G8BPQ
  275.  
  276. We have tested version 3.53 and 3.55b. A first test proves that it works
  277. although a trick will have to used to get it working.
  278. There isn't (yet) a OptoPcScc configuration option. You can use 2 channels
  279. with PC120 configuration, base address 14C for channel 0 and 1, base address
  280. 150 for the channel 2 and 3. I have asked G8BPQ to add an OptoPcScc
  281. configuration option. I hope that this is soon reality.
  282.  
  283. 1200 bps current loop modem PA0HZP
  284.  
  285. The size of the board is 4X7 cm.  Some types of the angular 9-pin D connectors
  286. have a very short distance between pin 1 and the position of R10. During
  287. assembly of the board you should be careful that R10 does not make a short with
  288. pin 1 of the D connector.  Two wire connections are to made on the board which
  289. have been outlined on the component lay-out as bold lines.
  290.  
  291. A flatcable can be used between the OptoPcScc board and the modem(s).
  292. Check the OptoPcScc schematic drawing  very carefully for pin numbering!
  293. Shielded cable is preferred in this case.
  294.  
  295. Explanation of the jumpers:
  296.  
  297.                 J1 open   : Continuous modem carrier output
  298.                 J1 closed : Modem carrier output activated by RTS
  299.                 J2 open   : Transmit timing is limited by the watchdog timer
  300.                 J2 closed : No transmit timer limiting
  301.  
  302. Standard configuration :
  303.  
  304.                 J1 closed
  305.                 J2 open
  306.  
  307. Before installing the modem(s) both trimpots should be set to the center
  308. position, in most cases the modem will work this way.  For optimum results
  309. you will have adjust both levels for the required level on your transceiver.
  310.  
  311. You may use a standard 5-pin DIN (180 degrees) audio plug for connection of the
  312. modem to the transceiver. Check very carefully the pin numbering and wiring of
  313. these plugs, there are 'crossed' cables around!
  314.  
  315. Attention! The connections of the DB9 connector as used in the "Eindhoven"
  316. modemboards are not the same as used with the PA0HZP modem board.
  317. These boards can be used with a different cable lay out on the OptoPcScc print.
  318.  
  319.  
  320. 4800 bps modem VE3DNL
  321.  
  322. The VE3DNL 4800 bps modem print of PA0WCH can be used with the OptoPcScc board.
  323. The required interface for this drawn in the file INTERFA1.SCH.  The component
  324. numbering system is the same as in the 4K8modem.arc file. The components from
  325. 90 upwards are new.  Attention: U19 has been changed into 74HCT132. U18 is not
  326. used anymore and can be dropped from the componentlist.  This type of modem
  327. can NOT be connected to the mike input of the transceiver.  More info regarding
  328. this topic in the file 4K8modem.arc.
  329.  
  330.  
  331. Null modem OptoPcScc
  332.  
  333. It is possible to connect two OptoPcScc ports together by making use of the null
  334. modem. Two PC's can be interconnected this way.  Also is it possible to test the
  335. ports by interconnecting the ports with this null modem.
  336.  
  337.  
  338. OptoPcScc board and other types of computers.
  339.  
  340. It is possible to use the OptoPcScc board with other types of computers. You
  341. will need a different bus decoding PAL IC12 for this. The interrupt polarity
  342. can be changed with JP2. The bus connector part of a scrap IBMPC mother board
  343. can be used if you want to utilize more than 1 SCC board. It is advisable to use
  344. the on-board buffers. If the PAL is a insurmountable problem, please contact
  345. PA0HZP.
  346.  
  347.  
  348. Printed circuit boards
  349.  
  350. Distribution of the VE3DNL 4K8 bps modem via PA0WCH.
  351. SCC boards and 1K2 modems: Availability of the printed circuit boards,
  352. parts and further information: contact  PA0HZP.
  353.  
  354. As soon as changes are made in this archive, the version number of this will be
  355. changed also.
  356. Please let me know if you need changes or find any mistakes in this archive.
  357.  
  358.  
  359.                                  Henk Z. Peek,  PA0HZP
  360.  
  361.                           Usenet: henkp@nikhef.nl
  362.                           AX25 bbs: pa0hzp@pi8nvp
  363.                           AX25 smtp: henkpa0hzp%pa3fmc%pe1chl@pe1dna
  364.                                      in most cases: pa0hzp@(system name)
  365.                           P.O. Box 329, 1440 AH Purmerend, The Netherlands
  366.                           Phone: +31 2990 30977
  367.  
  368.  
  369. P.S.
  370. Several modem interfaces are under development at the moment (ie. 9K6 bps modems)
  371.  
  372.